package cn.tedu.mapper;


import cn.tedu.pojo.entity.Product;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zq
 * @version 1.0
 * @create 2024-08-03 16:53
 * @since jdk1.8
 */
@Mapper
public interface ProductMapper {
    @Insert("insert into product(price,stock,title) values(#{price},#{stock},#{title})")
     void insertProduct(Product product);
}
